<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/socket/internal/UdpBase.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9ad1227260954e346101f3844f0abb3d.html">socket</a></li><li class="navelem"><a class="el" href="dir_1865c4ce8b99f52bbeabfd52bfdd7cd3.html">internal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">UdpBase.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_udp_base_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __UDPBASE_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __UDPBASE_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;../ServiceBase.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../../stream/StreamByte.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="keyword">class </span><a class="code" href="class_c_udp_socket.html">CUdpSocket</a>;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">class </span><a class="code" href="class_c_timer_base.html">CTimerBase</a>;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">class </span><a class="code" href="class_c_sock_addr.html">CSockAddr</a>;</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_c_udp_base.html">   11</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_c_udp_base.html">CUdpBase</a> : <span class="keyword">public</span> <a class="code" href="class_c_basic_service.html">CBasicService</a></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <a class="code" href="class_c_basic_service.html#ad69fde77d0a7508b7c52068d52aab039">delete_class_copy_operator</a>(<a class="code" href="class_c_udp_base.html">CUdpBase</a>);</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_c_udp_base.html#a4f67f613a4d8e20ee122a21eb0006dfa">   14</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_udp_base.html#a4f67f613a4d8e20ee122a21eb0006dfa">Init</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name) { <span class="keywordflow">return</span> CSockError::NOFUNCTION; }</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_c_udp_base.html#a5c7cde2ecd9ead7b5d0ad577163a6db1">   16</a></span>&#160;    <a class="code" href="class_c_udp_base.html#a5c7cde2ecd9ead7b5d0ad577163a6db1">CUdpBase</a>(<span class="keywordtype">bool</span> isWriteLog) {}</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_c_udp_base.html#ac7c3795c134f83c50a95aa013875c2f3">   18</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_udp_base.html#ac7c3795c134f83c50a95aa013875c2f3">~CUdpBase</a>() {}</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_basic_service.html#a10f49182ac18d619be9d5aefe9557413">Init</a>(<a class="code" href="class_c_socket.html">CSocket</a>&amp; sock, <span class="keywordtype">bool</span> isServer = <span class="keyword">false</span>) = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> AsyncConnect(<a class="code" href="class_c_udp_socket.html">CUdpSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> AsyncRecvfrom(<a class="code" href="class_c_udp_socket.html">CUdpSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_c_stream_iteator.html">CStreamIteator</a>&amp; buff, <a class="code" href="class_c_sock_addr.html">CSockAddr</a>* addr, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) = 0;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> AsyncRead(<a class="code" href="class_c_udp_socket.html">CUdpSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_c_stream_iteator.html">CStreamIteator</a>&amp; buff, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) = 0;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> AsyncSendTo(<a class="code" href="class_c_udp_socket.html">CUdpSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_c_stream_iteator.html">CStreamIteator</a>&amp; buff, <a class="code" href="class_c_sock_addr.html">CSockAddr</a>* addr, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) = 0;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> AsyncSend(<a class="code" href="class_c_udp_socket.html">CUdpSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_c_stream_iteator.html">CStreamIteator</a>&amp; buff, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) = 0;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> Post(<span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) = 0;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_basic_service.html#a91890f13733f60c53ef31024aa282fbb">Run</a>() = 0;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_basic_service.html#ae5b289830e25be913e20bd0b596d53f3">Run_One</a>() = 0;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_basic_service.html#acf2dc523207064b2082b9e0791f5e88d">NotifyStop</a>() = 0;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_basic_service.html#aa73a529376ac948b2328a8656fbddc9a">IsStop</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_basic_service.html#a026feeca4952b0bd153af40f3d472b2f">WaitServerStop</a>() = 0;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_io_port_service.html">CIoPortService</a>* <a class="code" href="class_c_basic_service.html#a222fc33e3f8c202533a635effc639a42">GetIoPortService</a>() = 0;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_basic_service.html#a84db55709c4a577a12879202e2788727">DelTimer</a>(<a class="code" href="class_c_timer_base.html">CTimerBase</a>&amp; timer) = 0;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_basic_service.html#ab87e91381edc59c3118e3cfc89f82f76">UpdateTimer</a>(<a class="code" href="class_c_timer_base.html">CTimerBase</a>&amp; timer) = 0;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_basic_service.html#a697834720e8fea776f366a8207087fa6">SetTimer</a>(<a class="code" href="class_c_timer_base.html">CTimerBase</a>&amp; timer) = 0;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;};</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_c_sock_error_html"><div class="ttname"><a href="class_c_sock_error.html">CSockError</a></div><div class="ttdoc">套接字错误信息类</div><div class="ttdef"><b>Definition:</b> <a href="_sock_error_8h_source.html#l00013">SockError.h:13</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html"><div class="ttname"><a href="class_c_stream_iteator.html">CStreamIteator</a></div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00011">StreamByte.h:11</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_a91890f13733f60c53ef31024aa282fbb"><div class="ttname"><a href="class_c_basic_service.html#a91890f13733f60c53ef31024aa282fbb">CBasicService::Run</a></div><div class="ttdeci">virtual bool Run()=0</div><div class="ttdoc">运行服务</div></div>
<div class="ttc" id="aclass_c_udp_base_html_a5c7cde2ecd9ead7b5d0ad577163a6db1"><div class="ttname"><a href="class_c_udp_base.html#a5c7cde2ecd9ead7b5d0ad577163a6db1">CUdpBase::CUdpBase</a></div><div class="ttdeci">CUdpBase(bool isWriteLog)</div><div class="ttdef"><b>Definition:</b> <a href="_udp_base_8h_source.html#l00016">UdpBase.h:16</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html"><div class="ttname"><a href="class_shared_ptr.html">SharedPtr&lt; HandleBase &gt;</a></div></div>
<div class="ttc" id="aclass_c_sock_addr_html"><div class="ttname"><a href="class_c_sock_addr.html">CSockAddr</a></div><div class="ttdoc">协议地址结构体</div><div class="ttdef"><b>Definition:</b> <a href="_sock_tools_8h_source.html#l00043">SockTools.h:43</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="aclass_c_udp_socket_html"><div class="ttname"><a href="class_c_udp_socket.html">CUdpSocket</a></div><div class="ttdoc">udp套接口</div><div class="ttdef"><b>Definition:</b> <a href="_udp_socket_8h_source.html#l00010">UdpSocket.h:10</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_a697834720e8fea776f366a8207087fa6"><div class="ttname"><a href="class_c_basic_service.html#a697834720e8fea776f366a8207087fa6">CBasicService::SetTimer</a></div><div class="ttdeci">virtual void SetTimer(CTimerBase &amp;timer)=0</div></div>
<div class="ttc" id="aclass_c_basic_service_html_a222fc33e3f8c202533a635effc639a42"><div class="ttname"><a href="class_c_basic_service.html#a222fc33e3f8c202533a635effc639a42">CBasicService::GetIoPortService</a></div><div class="ttdeci">virtual CIoPortService * GetIoPortService()=0</div><div class="ttdoc">获取底层的设备服务类</div></div>
<div class="ttc" id="aclass_c_socket_html"><div class="ttname"><a href="class_c_socket.html">CSocket</a></div><div class="ttdoc">套接口类</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8h_source.html#l00030">Socket.h:30</a></div></div>
<div class="ttc" id="aclass_c_timer_base_html"><div class="ttname"><a href="class_c_timer_base.html">CTimerBase</a></div><div class="ttdoc">定时器</div><div class="ttdef"><b>Definition:</b> <a href="_timer_8h_source.html#l00017">Timer.h:17</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_a10f49182ac18d619be9d5aefe9557413"><div class="ttname"><a href="class_c_basic_service.html#a10f49182ac18d619be9d5aefe9557413">CBasicService::Init</a></div><div class="ttdeci">virtual CSockError Init(CSocket &amp;sock, bool isServer=false)=0</div><div class="ttdoc">初始化服务类函数</div></div>
<div class="ttc" id="aclass_c_basic_service_html_aa73a529376ac948b2328a8656fbddc9a"><div class="ttname"><a href="class_c_basic_service.html#aa73a529376ac948b2328a8656fbddc9a">CBasicService::IsStop</a></div><div class="ttdeci">virtual bool IsStop() const =0</div><div class="ttdoc">判断Run函数是否退出</div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_ab87e91381edc59c3118e3cfc89f82f76"><div class="ttname"><a href="class_c_basic_service.html#ab87e91381edc59c3118e3cfc89f82f76">CBasicService::UpdateTimer</a></div><div class="ttdeci">virtual bool UpdateTimer(CTimerBase &amp;timer)=0</div></div>
<div class="ttc" id="aclass_c_udp_base_html_a4f67f613a4d8e20ee122a21eb0006dfa"><div class="ttname"><a href="class_c_udp_base.html#a4f67f613a4d8e20ee122a21eb0006dfa">CUdpBase::Init</a></div><div class="ttdeci">virtual CSockError Init(const char *name)</div><div class="ttdoc">初始化服务类函数</div><div class="ttdef"><b>Definition:</b> <a href="_udp_base_8h_source.html#l00014">UdpBase.h:14</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_ad69fde77d0a7508b7c52068d52aab039"><div class="ttname"><a href="class_c_basic_service.html#ad69fde77d0a7508b7c52068d52aab039">CBasicService::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(CBasicService)</div></div>
<div class="ttc" id="aclass_c_basic_service_html_a84db55709c4a577a12879202e2788727"><div class="ttname"><a href="class_c_basic_service.html#a84db55709c4a577a12879202e2788727">CBasicService::DelTimer</a></div><div class="ttdeci">virtual void DelTimer(CTimerBase &amp;timer)=0</div></div>
<div class="ttc" id="aclass_c_io_port_service_html"><div class="ttname"><a href="class_c_io_port_service.html">CIoPortService</a></div><div class="ttdef"><b>Definition:</b> <a href="_io_port_service_8h_source.html#l00032">IoPortService.h:32</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_ae5b289830e25be913e20bd0b596d53f3"><div class="ttname"><a href="class_c_basic_service.html#ae5b289830e25be913e20bd0b596d53f3">CBasicService::Run_One</a></div><div class="ttdeci">virtual bool Run_One()=0</div><div class="ttdoc">运行设备服务循环一次</div></div>
<div class="ttc" id="aclass_c_udp_base_html_ac7c3795c134f83c50a95aa013875c2f3"><div class="ttname"><a href="class_c_udp_base.html#ac7c3795c134f83c50a95aa013875c2f3">CUdpBase::~CUdpBase</a></div><div class="ttdeci">virtual ~CUdpBase()</div><div class="ttdef"><b>Definition:</b> <a href="_udp_base_8h_source.html#l00018">UdpBase.h:18</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html"><div class="ttname"><a href="class_c_basic_service.html">CBasicService</a></div><div class="ttdoc">服务类 基类</div><div class="ttdef"><b>Definition:</b> <a href="_service_base_8h_source.html#l00015">ServiceBase.h:15</a></div></div>
<div class="ttc" id="aclass_c_udp_base_html"><div class="ttname"><a href="class_c_udp_base.html">CUdpBase</a></div><div class="ttdef"><b>Definition:</b> <a href="_udp_base_8h_source.html#l00011">UdpBase.h:11</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html_a026feeca4952b0bd153af40f3d472b2f"><div class="ttname"><a href="class_c_basic_service.html#a026feeca4952b0bd153af40f3d472b2f">CBasicService::WaitServerStop</a></div><div class="ttdeci">virtual void WaitServerStop()=0</div><div class="ttdoc">通知并等待Run函数的退出</div></div>
<div class="ttc" id="aclass_c_basic_service_html_acf2dc523207064b2082b9e0791f5e88d"><div class="ttname"><a href="class_c_basic_service.html#acf2dc523207064b2082b9e0791f5e88d">CBasicService::NotifyStop</a></div><div class="ttdeci">virtual void NotifyStop()=0</div><div class="ttdoc">通知退出</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
